package com.mxprojects.constructors
{
	import com.mxprojects.io.Config;
	
	import flash.display.Sprite;
	
	public class Divider extends Sprite
	{
		private const LINE_WIDTH:uint = 1;
		
		public function Divider(lineHeight:uint, lineColour:uint, lineWidth:uint = LINE_WIDTH){
			//create a divider
			graphics.beginFill(lineColour);
			graphics.drawRect(0, 0, lineWidth, lineHeight);
			graphics.endFill();
			
			//disable the mouse
			mouseEnabled = false;
		}
	}
}